﻿/****************************************************************************************************************
*                                                                                                               *
* Copyright (C) 2011 5173.com                                                                                   *
* This project may be copied only under the terms of the Apache License 2.0.                                    *
* Please visit the project Home Page http://bqqapicsharp.codeplex.com/ for more detail.                         *
*                                                                                                               *
****************************************************************************************************************/

namespace BQQAPIClient.Core.Protocol
{
    using System;

    [AttributeUsage(AttributeTargets.Class)]
    internal class NotifyPackageAttribute : Attribute
    {
        internal ushort Cmd { get; set; }

        internal ushort SubCmd { get; set; }

        internal NotifyPackageAttribute(ushort cmd, ushort subCmd)
        {
            this.Cmd = cmd;
            this.SubCmd = subCmd;
        }
    }
}
